﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Collections2
{
    public class TwoWayDictException : Exception
    {
        int exceptionnumber;
        string message;
        
        public TwoWayDictException(int _exceptionnumber,string _message)
        {   
            exceptionnumber = _exceptionnumber;
            message = _message;
        }

        public override string Message
        {
            get
            {
                return message;
            }
        }

        public int Number
        {
            get { return exceptionnumber; }

        }

    }
}
